﻿custom_clothes = {
	usage = customization
	interface_position = 2

	### Shogunate Clothes Start ###

	add_accessory_modifiers = {
		gene = clothes
		template = japanese_commoner_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = japanese_low_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = japanese_high_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = japanese_common_monk_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = japanese_war_nobility_clothes
	}

	### Shogunate Clothes End ###

	### MPO - Khans of the Steppe ###

	add_accessory_modifiers = {
		gene = clothes
		template = mpo_mongol_commoner_clothes
		is_valid_custom = {
			has_mpo_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = mpo_mongol_low_nobility_clothes
		is_valid_custom = {
			has_mpo_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = mpo_mongol_high_nobility_clothes
		is_valid_custom = {
			has_mpo_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = mpo_mongol_royalty_clothes
		is_valid_custom = {
			has_mpo_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = mpo_mongol_imperial_clothes
		is_valid_custom = {
			has_mpo_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = mpo_mongol_war_nobility_clothes
		is_valid_custom = {
			has_mpo_dlc_trigger = yes
		}
	}	

	## CCP4 Sami ##

	add_accessory_modifiers = {
		gene = clothes
		template = ccp4_sami_commoner_clothes
		is_valid_custom = {
			has_cp4_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = ccp4_sami_low_nobility_clothes
		is_valid_custom = {
			has_cp4_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = ccp4_sami_high_nobility_clothes
		is_valid_custom = {
			has_cp4_dlc_trigger = yes
		}
	}
		
	add_accessory_modifiers = {
		gene = clothes
		template = ccp4_sami_travel_clothes
		is_valid_custom = {
			has_cp4_dlc_trigger = yes
		}
	}
	
	## CCP4 Khanty ##

	add_accessory_modifiers = {
		gene = clothes
		template = ccp4_khanty_commoner_clothes
		is_valid_custom = {
			has_cp4_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = ccp4_khanty_low_nobility_clothes
		is_valid_custom = {
			has_cp4_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = ccp4_khanty_high_nobility_clothes
		is_valid_custom = {
			has_cp4_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ccp4_khanty_war_nobility_clothes
		is_valid_custom = {
			has_cp4_dlc_trigger = yes
		}	
	}

	## POL ##

	add_accessory_modifiers = {
		gene = clothes
		template = pol_commoner_clothes
		is_valid_custom = {
			has_pol_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = pol_low_nobility_clothes
		is_valid_custom = {
			has_pol_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = pol_high_nobility_clothes
		is_valid_custom = {
			has_pol_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = pol_imperial_clothes
		is_valid_custom = {
			has_pol_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = pol_war_nobility_clothes
		is_valid_custom = {
			has_pol_dlc_trigger = yes
		}
	}

	## EP3 ##
	add_accessory_modifiers = {
		gene = clothes
		template = ep3_byzantine_era1_commoner_clothes
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = ep3_byzantine_era1_low_nobility_clothes
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = ep3_byzantine_era1_high_nobility_clothes
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = ep3_byzantine_era1_imperial_clothes
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}	
	add_accessory_modifiers = {
		gene = clothes
		template = ep3_byzantine_era1_war_nobility_clothes
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = ep3_byzantine_era2_commoner_clothes
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = ep3_byzantine_era2_low_nobility_clothes
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = ep3_byzantine_era2_high_nobility_clothes
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = ep3_byzantine_era2_royalty_clothes
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = ep3_byzantine_era2_imperial_clothes
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}	
	add_accessory_modifiers = {
		gene = clothes
		template = ep3_byzantine_era2_war_nobility_clothes
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}

	## SP3 ##
	add_accessory_modifiers = {
		gene = clothes
		template = sp3_western_royalty_clothes
		is_valid_custom = {
			has_dlc_feature = couture_of_the_capets
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = sp2_western_royalty_clothes
		is_valid_custom = {
			has_dlc_feature = elegance_of_the_empire
		}
	}
	
	## CE1 ##
	add_accessory_modifiers = {
		gene = clothes
		template = fp4_western_physician_01
		is_valid_custom = {
			has_ce1_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = fp4_western_bedchamber_clothes
		is_valid_custom = {
			has_ce1_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = fp4_western_era3_low_nobility_clothes
		is_valid_custom = {
			has_ce1_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = fp4_western_era3_high_nobility_clothes
		is_valid_custom = {
			has_ce1_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = fp4_western_era2_low_nobility_clothes
		is_valid_custom = {
			has_ce1_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = fp4_western_era2_high_nobility_clothes
		is_valid_custom = {
			has_ce1_dlc_trigger = yes
		}
	}

	## EP2 ##
	add_accessory_modifiers = {
		gene = clothes
		template = ep2_western_era1_commoner_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_western_era1_low_nobility_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_western_era1_high_nobility_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_western_era1_war_nobility_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_western_era2_war_nobility_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_western_era3_low_nobility_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_western_era3_high_nobility_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_western_era4_war_nobility_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_religious_muslim_hajj_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_religious_muslim_ihram_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_mena_war_nobility_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_steppe_war_nobility_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_byzantine_war_nobility_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_indian_war_nobility_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	## AFR ##

	add_accessory_modifiers = {
		gene = clothes
		template = afr_commoner_clothes
		is_valid_custom = {
			has_afr_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = afr_low_nobility_clothes
		is_valid_custom = {
			has_afr_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = afr_high_nobility_clothes
		is_valid_custom = {
			has_afr_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = afr_war_nobility_clothes
		is_valid_custom = {
			has_afr_dlc_trigger = yes
		}
	}

	## FP3 - Sands of Time ##

	add_accessory_modifiers = {
		gene = clothes
		template = fp3_iranian_low_nobility_clothes
		is_valid_custom = {
			OR = {
				has_fp3_dlc_trigger = yes
				has_mpo_dlc_trigger = yes
			}
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = fp3_iranian_high_nobility_clothes
		is_valid_custom = {
			OR = {
				has_fp3_dlc_trigger = yes
				has_mpo_dlc_trigger = yes
			}
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = fp3_iranian_war_nobility_clothes
		is_valid_custom = {
			OR = {
				has_fp3_dlc_trigger = yes
				has_mpo_dlc_trigger = yes
			}
		}
	}

	## FP2 - The Fate of Iberia ##

	add_accessory_modifiers = {
		gene = clothes
		template = fp2_muslim_commoner_clothes
		is_valid_custom = {
			has_fp2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = fp2_christian_commoner_clothes
		is_valid_custom = {
			has_fp2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = fp2_muslim_low_nobility_clothes
		is_valid_custom = {
			has_fp2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = fp2_christian_low_nobility_clothes
		is_valid_custom = {
			has_fp2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = fp2_muslim_high_nobility_clothes
		is_valid_custom = {
			has_fp2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = fp2_christian_high_nobility_clothes
		is_valid_custom = {
			has_fp2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = fp2_muslim_war_nobility_clothes
		is_valid_custom = {
			has_fp2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = fp2_christian_war_nobility_clothes
		is_valid_custom = {
			has_fp2_dlc_trigger = yes
		}
	}

	## FP1 ##

	add_accessory_modifiers = {
		gene = clothes
		template = fp1_commoner_clothes
		is_valid_custom = {
			has_fp1_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = fp1_commoner_clothes
		is_valid_custom = {
			has_fp1_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = fp1_low_nobility_clothes
		is_valid_custom = {
			has_fp1_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = fp1_high_nobility_clothes
		is_valid_custom = {
			has_fp1_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = fp1_war_nobility_clothes
		is_valid_custom = {
			has_fp1_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = western_commoner_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = western_low_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		# is_valid_custom = {
		# 	highest_held_title_tier > tier_county
		# }
		template = western_high_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		# is_valid_custom = {
		# 	highest_held_title_tier > tier_duchy
		# }
		template = western_royalty_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = western_war_nobility_clothes
	}

	# add_accessory_modifiers = {
	# 	gene = clothes
	# 	is_valid_custom = {
	# 		highest_held_title_tier > tier_kingdom
	# 	}
	# 	template = western_imperial_clothes
	# }

	add_accessory_modifiers = {
		gene = clothes
		template = western_prison
	}

	add_accessory_modifiers = {
		gene = clothes
		template = western_bedchamber
	}

	add_accessory_modifiers = {
		gene = clothes
		template = western_crusades
	}

	add_accessory_modifiers = {
		gene = clothes
		template = northern_commoner_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = northern_low_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = northern_high_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = northern_war_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = byzantine_commoner_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = byzantine_low_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = byzantine_high_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = byzantine_war_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = mena_commoner_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = mena_low_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = mena_high_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = mena_war_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = steppe_commoner_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = steppe_low_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = steppe_high_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = steppe_war_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = indian_commoner_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = indian_low_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = indian_high_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = indian_war_nobility_clothes
	}
	
	

	add_accessory_modifiers = {
		gene = clothes
		template = sub_saharan_commoner_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = sub_saharan_low_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = sub_saharan_high_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = dde_hre_commoner_clothes
		is_valid_custom = {
			has_dlc = "Garments of the Holy Roman Empire"
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = dde_hre_low_nobility_clothes
		is_valid_custom = {
			has_dlc = "Garments of the Holy Roman Empire"
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = dde_hre_high_nobility_clothes
		is_valid_custom = {
			has_dlc = "Garments of the Holy Roman Empire"
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = dde_hre_war_nobility_clothes
		is_valid_custom = {
			has_dlc = "Garments of the Holy Roman Empire"
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = dde_abbasid_commoner_clothes
		is_valid_custom = {
			has_dlc = "Fashion of the Abbasid Court"
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = dde_abbasid_low_nobility_clothes
		is_valid_custom = {
			has_dlc = "Fashion of the Abbasid Court"
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = dde_abbasid_high_nobility_clothes
		is_valid_custom = {
			has_dlc = "Fashion of the Abbasid Court"
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = dde_abbasid_war_nobility_clothes
		is_valid_custom = {
			has_dlc = "Fashion of the Abbasid Court"
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_orthodox_high_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_orthodox_head_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_muslim_high_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_muslim_head_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_catholic_devoted_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_catholic_high_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_catholic_head_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_african_high_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_northern_high_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_hindu_devoted_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_buddhist_high_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_jain_high_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_zoroastrian_high_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_jewish_head_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_jewish_high_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_steppe_high_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = ep1_jester_clothes
	}

	#add_accessory_modifiers = {
	#	gene = hairstyles
	#	template = rtt_hairstyles
	#	
	#	is_valid_custom = {
	#		monarchs_journey_unlock = 1
	#	}
	#}

}
